﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace formworks.DBO.Core
{
    /// <summary>
    /// 数据库基本实现的抽象类
    /// 便于对工厂对象的访问
    /// 继承了IDataBaseSys接口
    /// </summary>
    public abstract class ADBSessionFactory
    {
        public string connectionString { get; set; }
        public System.Data.SqlClient.SqlConnection connection { get; set; }

        //public ADBSessionFactory(string connectionString);
        //public ADBSessionFactory(SqlConnection connection);

        ///// <summary>
        ///// 打开一个数据库会话
        ///// </summary>
        ///// <returns></returns>
        //DBSession openSession();

    }
}
